package Decorator;
import Component.Component;

public class DecoratorArmor extends Decorator {
    public DecoratorArmor(Component componentInit) {
        super(componentInit);
    }

    private void AddArmorOutfit(){
        System.out.println("已装备头盔");
    }
    @Override
    public void operation(String charctor){
        super.operation(charctor);
        AddArmorOutfit();
    }

}
